﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using Microsoft.Phone.Controls;

namespace TriangleGame
{
    public partial class PaginaRegole : PhoneApplicationPage
    {
        public PaginaRegole()
        {
            InitializeComponent();
            textBlockRegole.Text = "The goal of this game is to win by covering most of the playing area.\nAt each turn, the player will have the possibility to join two points with a line: if this line closes a triangle, the area of the triangle will be assigned to the player.\n\n The rules are:\n- Two lines can't cross.\n- Triangles must be made of lines not containing other points.\n- If you close a triangle, it's still your turn.\n- A triangle mustn't contain a point.";
            textBlockRegole.Foreground = new SolidColorBrush(Colors.White);
        }
    }
}